﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DAL;

namespace GrupyzServices.BdAccess
{
    public interface IOrderRepository
    {
        Order.OrderViewModel FillOrderCliente(int id);
        bool CreateOrder(ref DAL.Order order, int UserId, decimal Total, int desconto);
        FinalOrderViewModel ActualizaOrder(DAL.Order order);
        DAL.Order GetOrderById(int id);
        DAL.Order GetOrder_OrderDetailById(int id);
        IEnumerable<ClienteComprasViewModel> GetOrdersCliente(int IdCliente);
        bool DeleteOrder(int OrderId);
        bool ClienteJaComprou(int idCliente);
        bool DealConcluido(FinalOrderViewModel fo);
        bool DealPorConcluir(FinalOrderViewModel fo);
        OrderPayViewModel GetFinalOrderDetail(int idOrder);
    }
}
